package task.domain
{
    import mx.collections.ArrayList;

    public class TaskMetadata
    {
        public var categories:ArrayList = new ArrayList(
                    [   new TaskCategory("01", "Family"), new TaskCategory("02","Friends"),
                        new TaskCategory("03","Business")]);

        /**
         * Priorities are defined with a reverse priority in order to
         * demonstrate and enforce a converter.
         * The visual component displays priorities from Low to High, from 1 to 4,
         * while this metadata defines different values, from 4-(Low) to 1-(Very High).
         */
        public var priorities:ArrayList = new ArrayList(
                    [
                            new TaskPriority("01", 4, "Low"),
                            new TaskPriority("02", 3, "Medium"),
                            new TaskPriority("03", 2, "High"),
                            new TaskPriority("04", 1, "Very High")
                    ]
                    );
        public function TaskMetadata()
        {
        }
    }
}
